package bb.lanxing.lib.devices.igpsport;

public abstract class CommandBase {
    protected static final int FIT_EVENT_CTRL_FILE = 32;
    protected static final int FIT_EVENT_TYPE_CMD_GET_PROFILE = 5;
    protected static final int FIT_EVENT_TYPE_CMD_SET_PROFILE = 6;
    protected static final int FIT_FILE_ACTIVITY_SUMMARY = 20;
    private static final String TAG = "com.igpsport.fitwrapper.command.CommandBase";

    public abstract byte[] getCommandData();

    public abstract CommandType getCommandType();

    private byte[] getBytesSince(byte[] bArr, int i, int i2) {
        byte[] bArr2 = new byte[i2];
        for (int i3 = i; i3 < i + i2; i3++) {
            bArr2[i3 - i] = bArr[i3];
        }
        return bArr2;
    }
}
